package org.osforce.platform.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
 * @author gavin
 * 
 */
@Entity
@Table(name="status")
public class Status extends IdEntity{

	private static final long serialVersionUID=8716521180470796188L;

	private String name;
	private String scope;

	public Status(){
	}

	public Status(String name,String scope){
		this.name=name;
		this.scope=scope;
	}
	
	@Column(name="name",length=50,nullable=false)
	public String getName(){
		return name;
	}

	public void setName(String name){
		this.name=name;
	}
	@Column(name="scope",length=50,nullable=false)
	public String getScope(){
		return scope;
	}

	public void setScope(String scope){
		this.scope=scope;
	}

}
